package thread.java20221220;

public class Student {

    static int count = 80;

    public synchronized void fun1(){
        //....具体代码
    }
    public synchronized void fun2(){
        //... 具体代码
    }

    public void fun3(){
        synchronized (this){

        }
    }

    public static synchronized void fun4(){

    }
    public void fun5(){
        synchronized (Student.class){

        }
    }

    public synchronized void fun6(){
        fun7();
    }
    public synchronized void fun7(){

    }
}
